package com.intellagric.interfaces.sys_operate;


import com.intellagric.common.bean.LayuiDataGridResult;
import com.intellagric.common.bean.ResponseMessage;
import com.intellagric.pojo.SysOperate;

/**
 * @Auther: zhy
 * @Date: 2018/10/4
 * @Description: 菜单权限服务接口
 */
public interface OperateService {

    //增加菜单
    ResponseMessage addOperate(SysOperate sysOperate);

    //删除菜单
    ResponseMessage deleteOperate(String id);

    //修改菜单信息
    ResponseMessage editOperate(SysOperate sysOperate);

    //查询菜单
    SysOperate getOperateById(String id);
    LayuiDataGridResult getOperateTree();
    LayuiDataGridResult getOperateByParentId(String parentId);
    LayuiDataGridResult getOperateList();

}
